package com.example.electronicmall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.electronicmall.entity.ItemEntity;
import com.example.electronicmall.utils.PageUtils;
import com.example.electronicmall.utils.R;
import com.example.electronicmall.entity.ShopEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author mwh
 * @email 1062966353@qq.com
 * @date 2022-12-02 14:48:53
 */
public interface ShopService extends IService<ShopEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void createShop(Integer businessId, String shopName, String shopAddress);

    List<ShopEntity> queryShopByBusinessId(Integer businessId);

    List<ShopEntity> listAllShops();

    List<ShopEntity> listShopsByBusinessId(Integer businessId);
}

